日本語
getchwd()関数は現在の作業ディレクトリを返します。
getchwd()
現在の作業ディレクトリを取得します:
<?php エコーgetcwd ( ) ?>
結果:
/home/php
getcwd();